#pragma once
#include "UIElement.h"

namespace GUIToolkit
{
	class ContentControl :
		public Control
	{
	private:
		UIElement* child;

	public:
		ContentControl(float x, float y, float width, float height, LPWSTR text = NULL);
		
		UIElement* GetChild() const { return child; }
		void SetChild(UIElement* child)
		{
			this->child = child;
		}

		virtual ~ContentControl(void);
	};
}